/*
 * @Author: shuai
 * @Date: 2021-03-26 09:44:23
 * @LastEditors: shuai
 * @LastEditTime: 2021-03-26 09:44:24
 * @Description: file content
 */
import defaultSettings from '@/settings'

const title = defaultSettings.title || 'Vue Admin Template'

export default function getPageTitle(pageTitle: string): string {
  if (pageTitle) return `${pageTitle} - ${title}`
  return `${title}`
}
